#pragma once
#include "cs_datatype.h"

class TcpWaiter:public OS_Thread
{
public:
	TcpWaiter(unsigned short port, Buff_Reader *br);
	~TcpWaiter(void);
	int Routine();
	void stop(){bRun = false;}
	
private:
	TcpWaiter(void);
	OS_TcpSocket m_sock;
	bool bRun;
	Buff_Reader *Br;
};

